package com.repair.category.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.repair.api.category.request.param.ServiceCategoryDeleteParam;
import com.repair.api.category.request.param.ServiceCategoryGetParam;
import com.repair.api.category.response.data.CategoryInfo;
import com.repair.category.pojo.entity.ServiceCategory;
import com.repair.category.pojo.vo.ServiceCategoryVO;

import java.util.List;

/**
 * <p>
 * 服务类型 Mapper 接口
 * </p>
 *
 * @author 桂龙
 * @since 2024-10-11
 */
public interface ServiceCategoryMapper extends BaseMapper<ServiceCategory> {

    List<CategoryInfo> select(ServiceCategoryGetParam serviceCategoryGetParam);
    List<ServiceCategoryVO> getAll();
    CategoryInfo selectById(Long id);
    void delete(ServiceCategoryDeleteParam serviceCategoryDeleteParam);
    void save(ServiceCategory serviceCategory);
    void update(ServiceCategory serviceCategory);
}
